package main

import "fmt"

// 分支判断
// if
// else
// else if

func main() {
	var command = "go east"

	if command == "go east" { // 检查命令是否为“go east”
		fmt.Println("You head further up the mountain.")
	} else if command == "go inside" { // 在第一次检查为假之后，检查命令是否为“go inside”
		fmt.Println("You enter the cave where you live out the rest of your life.")
	} else { // 如果前两次检查都为假，那么执行第三个分支
		fmt.Println("Didn't quite get that.")
	}

	// You head further up the mountain.
}
